﻿use core::{
    borrow::BorrowMut,
    mem::MaybeUninit,
};

use atomex::TrCmpxchOrderings;
use buffex::x_deps::{abs_sync, abs_buff, atomex};

use super::tunnel_::SimpleMux;

pub struct PortBinding<'a, BTx, BRx, Ord>
where
    BTx: BorrowMut<[MaybeUninit<u8>]>,
    BRx: BorrowMut<[MaybeUninit<u8>]>,
    Ord: TrCmpxchOrderings,
{
    port_: u32,
    tunn_: &'a SimpleMux<BTx, BRx, Ord>,
}